package com.juzi.polymorphic;

public class Tortoise extends Animal{
    public String name = "子乌龟";
    @Override
    public void run() {
        System.out.println("🐢跑的很慢");
    }

    /**
     * 独有功能
     */
    public void layEggs(){
        System.out.println("王八在叫？");
    }
}
